powered by
[[<-
Replace part of an evidence structure
signature(x="mass", i="character", j="missing", value="ANY")
Replace focal element(s)
# NOT RUN { # construct a state space stateSpace <- c("a", "b", "c") # mass function m <- mass(list("a"=0.1, "b"=0.1 , "c"=0.4, "a/b/c"=0.4), stateSpace) # obtain value only m[["a"]] # }
Run the code above in your browser using DataLab